package com.xty.forum.utils;

import java.util.UUID;

/**
 * @Description TODO
 * @ClassName UUIDUtil
 * @Author RUHUA
 * @Data 2025/11/9 10:07
 */
public class UUIDUtil {
    //生成36位UUID
    public static String UUID_36() {
        return UUID.randomUUID().toString();
    }
    //生成32位UUID
    public static String UUID_32() {
        return UUID.randomUUID().toString().replace("-","");
    }
}
